package com.cloud.salon.client.menber.feign;

import com.cloud.salon.common.base.entity.business.Item;
import com.cloud.salon.common.base.response.Res;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/*
 * @Description 业务微服务feign
 * @Author wolf--LZH
 * @CreateDate 2019/5/13 0013 下午 12:14
 */
@FeignClient(value = "salon-business")
public interface BusinessFeign {

    @PostMapping(value = "/item/findById")
    Res<Item> findItem(@RequestBody Integer itemId);

//    @PostMapping(value = "/staff/findById")
//    Res<Staff> findStaff(@RequestBody Integer staffId);
}
